<!DOCTYPE html>
<html language="cn">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <title>Test</title>
  <style>
    html,
    body {
      background: white;
      margin: 0;
      padding: 0;
    }

    header {
      position: fixed;
      top:0;
      width:100%;
      line-height: 60px;
      background: #006CBF;
      font-size: 22px;
      color: white;
      font-weight: bold;
      text-align: center;
      box-shadow: 0 1px 4px black;
      margin-bottom: 5px;
    }

    .api-list {
      position: fixed;
      left: 0;
      top: 65px;
      width: 350px;
      border-right: 1px solid #eee;
    }

    .api-list li a {
      line-height: 25px;
      cursor: pointer;
      color: #0097DB;
      font-size: 16px;
    }

    .api-context {
      margin:65px 0 0 351px;
    }

    .api-context table {
      margin: 5px 2%;
      width: 96%;
      text-align: left;
      border-collapse: collapse;
      border-color: #eee;
    }

    .api-context table thead {
      background: #0088CC;
      color: white;
    }

    .api-context table td,
    .api-context table th {
      padding: 12px 15px;
      border: 1px solid #eee;
    }
    table.back-data  thead,
    table.back-data table thead
    {
      background:#F7818B;
    }
    span.open-btn{
      cursor: pointer;
    }
  </style>
  <script lang="javascript">
    function closeParam(e){
      const trDisplay = e.target.parentElement.parentElement.nextElementSibling.style.display;
      if(trDisplay=='none'){
        e.target.innerText='-';
        e.target.parentElement.parentElement.nextElementSibling.style.display = '';
      }else{
        e.target.innerText='+';
        e.target.parentElement.parentElement.nextElementSibling.style.display = 'none';
      }
    }
  </script>
</head>

<body>
  
  
  <header>Test文档[2019-04-07 14:52:49]
    <a href="../index.html" style="float:right;font-size: 14px;color:white;margin-right: 30px;">返回API列表</a></header>
  <div class="api-list">
    <ol>
      
      <li><a href="#/test/add">新增功能[post]</a></li>
      
      <li><a href="#/test/modify">修改功能功能[post]</a></li>
      
      <li><a href="#/test/query">查询功能[get]</a></li>
      
      <li><a href="#/test/fetch">查询某个实体对象[get]</a></li>
      
      <li><a href="#/test/delete">删除功能[post]</a></li>
      
    </ol>
  </div>
  <div class="api-context">
    
      <a name="/test/add" style="display:block;height:65px;"></a>
      <table>
        <thead>
          <tr>
            <th colspan="5">
              新增功能【post】入参
              <span style="float:right;">/test/add</span>
            </th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必填</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
          
            
    <tr>
      <td></td>
      <td>name</td>
      <td>string</td>
      <td>是</td>
      <td>名称</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>id</td>
      <td>string</td>
      <td>否</td>
      <td>唯一标识</td>
    </tr>
    
  
          
        </tbody>
      </table>
      <table class="back-data">
        <thead>
          <tr>
            <th colspan="5">返回</th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必有值</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            
    <tr>
      <td></td>
      <td>returnMsg</td>
      <td>string</td>
      <td>是</td>
      <td>错误说明</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>returnNo</td>
      <td>number</td>
      <td>是</td>
      <td>错误编号,0表示正确</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>result</td>
      <td>string</td>
      <td>否</td>
      <td>返回结果</td>
    </tr>
    
  
          
          <!-- <tr>
            <td></td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td>-</td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td colspan="5">
              <table style="margin:5px;">
                <thead style="background:#F7818B;">
                  <tr>
                    <th style="width:10px;">#</th>
                    <th style="width:200px;">参数名</th>
                    <th style="width:100px;">类型</th>
                    <th style="width:100px;">非空</th>
                    <th>说明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td></td>
                    <td>id</td>
                    <td>id</td>
                    <td>是</td>
                    <td>唯一标识</td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr> -->
        </tbody>
      </table>
    
      <a name="/test/modify" style="display:block;height:65px;"></a>
      <table>
        <thead>
          <tr>
            <th colspan="5">
              修改功能功能【post】入参
              <span style="float:right;">/test/modify</span>
            </th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必填</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
          
            
    <tr>
      <td></td>
      <td>name</td>
      <td>string</td>
      <td>是</td>
      <td>名称</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>id</td>
      <td>string</td>
      <td>否</td>
      <td>唯一标识</td>
    </tr>
    
  
          
        </tbody>
      </table>
      <table class="back-data">
        <thead>
          <tr>
            <th colspan="5">返回</th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必有值</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            
    <tr>
      <td></td>
      <td>returnMsg</td>
      <td>string</td>
      <td>是</td>
      <td>错误说明</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>returnNo</td>
      <td>number</td>
      <td>是</td>
      <td>错误编号,0表示正确</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>result</td>
      <td>boolean</td>
      <td>否</td>
      <td>返回结果</td>
    </tr>
    
  
          
          <!-- <tr>
            <td></td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td>-</td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td colspan="5">
              <table style="margin:5px;">
                <thead style="background:#F7818B;">
                  <tr>
                    <th style="width:10px;">#</th>
                    <th style="width:200px;">参数名</th>
                    <th style="width:100px;">类型</th>
                    <th style="width:100px;">非空</th>
                    <th>说明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td></td>
                    <td>id</td>
                    <td>id</td>
                    <td>是</td>
                    <td>唯一标识</td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr> -->
        </tbody>
      </table>
    
      <a name="/test/query" style="display:block;height:65px;"></a>
      <table>
        <thead>
          <tr>
            <th colspan="5">
              查询功能【get】入参
              <span style="float:right;">/test/query</span>
            </th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必填</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            <tr>
              <td colspan="5">无</td>
            </tr>
          
          
        </tbody>
      </table>
      <table class="back-data">
        <thead>
          <tr>
            <th colspan="5">返回</th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必有值</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            
    <tr>
      <td></td>
      <td>returnMsg</td>
      <td>string</td>
      <td>是</td>
      <td>错误说明</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>returnNo</td>
      <td>number</td>
      <td>是</td>
      <td>错误编号,0表示正确</td>
    </tr>
    
  
          
            
    <tr>
      <td><span class="open-btn" onclick="closeParam(event)">-</span></td>
      <td>result</td>
      <td>object[]</td>
      <td>否</td>
      <td>返回结果</td>
    </tr>
    
      <tr>
        <td colspan="5">
          <table>
              <thead>
                <tr>
                  <th style="width:10px;">#</th>
                  <th style="width:200px;">参数名</th>
                  <th style="width:100px;">类型</th>
                  <th style="width:100px;">必有值</th>
                  <th>说明</th>
                </tr>
              </thead>
              <tbody>
                
                  
    <tr>
      <td></td>
      <td>id</td>
      <td>string</td>
      <td>是</td>
      <td>唯一标识</td>
    </tr>
    
  
                
                  
    <tr>
      <td></td>
      <td>name</td>
      <td>string</td>
      <td>否</td>
      <td>名称</td>
    </tr>
    
  
                
              </tbody>
            </table>
        </td>
      </tr>
    
  
          
          <!-- <tr>
            <td></td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td>-</td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td colspan="5">
              <table style="margin:5px;">
                <thead style="background:#F7818B;">
                  <tr>
                    <th style="width:10px;">#</th>
                    <th style="width:200px;">参数名</th>
                    <th style="width:100px;">类型</th>
                    <th style="width:100px;">非空</th>
                    <th>说明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td></td>
                    <td>id</td>
                    <td>id</td>
                    <td>是</td>
                    <td>唯一标识</td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr> -->
        </tbody>
      </table>
    
      <a name="/test/fetch" style="display:block;height:65px;"></a>
      <table>
        <thead>
          <tr>
            <th colspan="5">
              查询某个实体对象【get】入参
              <span style="float:right;">/test/fetch</span>
            </th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必填</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
          
            
    <tr>
      <td></td>
      <td>id</td>
      <td>string</td>
      <td>否</td>
      <td></td>
    </tr>
    
  
          
        </tbody>
      </table>
      <table class="back-data">
        <thead>
          <tr>
            <th colspan="5">返回</th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必有值</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            
    <tr>
      <td></td>
      <td>returnMsg</td>
      <td>string</td>
      <td>是</td>
      <td>错误说明</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>returnNo</td>
      <td>number</td>
      <td>是</td>
      <td>错误编号,0表示正确</td>
    </tr>
    
  
          
            
    <tr>
      <td><span class="open-btn" onclick="closeParam(event)">-</span></td>
      <td>result</td>
      <td>object</td>
      <td>否</td>
      <td>返回结果</td>
    </tr>
    
      <tr>
        <td colspan="5">
          <table>
              <thead>
                <tr>
                  <th style="width:10px;">#</th>
                  <th style="width:200px;">参数名</th>
                  <th style="width:100px;">类型</th>
                  <th style="width:100px;">必有值</th>
                  <th>说明</th>
                </tr>
              </thead>
              <tbody>
                
                  
    <tr>
      <td></td>
      <td>id</td>
      <td>string</td>
      <td>是</td>
      <td>唯一标识</td>
    </tr>
    
  
                
                  
    <tr>
      <td></td>
      <td>name</td>
      <td>string</td>
      <td>否</td>
      <td>名称</td>
    </tr>
    
  
                
              </tbody>
            </table>
        </td>
      </tr>
    
  
          
          <!-- <tr>
            <td></td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td>-</td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td colspan="5">
              <table style="margin:5px;">
                <thead style="background:#F7818B;">
                  <tr>
                    <th style="width:10px;">#</th>
                    <th style="width:200px;">参数名</th>
                    <th style="width:100px;">类型</th>
                    <th style="width:100px;">非空</th>
                    <th>说明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td></td>
                    <td>id</td>
                    <td>id</td>
                    <td>是</td>
                    <td>唯一标识</td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr> -->
        </tbody>
      </table>
    
      <a name="/test/delete" style="display:block;height:65px;"></a>
      <table>
        <thead>
          <tr>
            <th colspan="5">
              删除功能【post】入参
              <span style="float:right;">/test/delete</span>
            </th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必填</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
          
            
    <tr>
      <td></td>
      <td>id</td>
      <td>string[]</td>
      <td>否</td>
      <td></td>
    </tr>
    
  
          
        </tbody>
      </table>
      <table class="back-data">
        <thead>
          <tr>
            <th colspan="5">返回</th>
          </tr>
          <tr>
            <th style="width:10px;">#</th>
            <th style="width:200px;">参数名</th>
            <th style="width:100px;">类型</th>
            <th style="width:100px;">必有值</th>
            <th>说明</th>
          </tr>
        </thead>
        <tbody>
          
            
    <tr>
      <td></td>
      <td>returnMsg</td>
      <td>string</td>
      <td>是</td>
      <td>错误说明</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>returnNo</td>
      <td>number</td>
      <td>是</td>
      <td>错误编号,0表示正确</td>
    </tr>
    
  
          
            
    <tr>
      <td></td>
      <td>result</td>
      <td>boolean</td>
      <td>否</td>
      <td>返回结果</td>
    </tr>
    
  
          
          <!-- <tr>
            <td></td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td>-</td>
            <td>id</td>
            <td>是</td>
            <td>是</td>
            <td>唯一标识</td>
          </tr>
          <tr>
            <td colspan="5">
              <table style="margin:5px;">
                <thead style="background:#F7818B;">
                  <tr>
                    <th style="width:10px;">#</th>
                    <th style="width:200px;">参数名</th>
                    <th style="width:100px;">类型</th>
                    <th style="width:100px;">非空</th>
                    <th>说明</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                    <td></td>
                    <td>id</td>
                    <td>id</td>
                    <td>是</td>
                    <td>唯一标识</td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr> -->
        </tbody>
      </table>
    
  </div>
</body>
</html>